package com.zl.quickdoc.model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @author zhouliang
 */
public class ApiDocument {

    /**
     * 接口模块
     */
    private List<ApiModule> apiModules;
    /**
     * 额外属性
     */
    private Map<String, Object> properties = new HashMap<>();
    
    @JsonIgnore
    private  List<DocChangeApis> changedata;
    
    @JsonIgnore
    private String outputPath;
    
    public List<ApiModule> getApiModules() {
        return apiModules;
    }
    public void setApiModules(List<ApiModule> apiModules) {
        this.apiModules = apiModules;
    }
    public Map<String, Object> getProperties() {
        return properties;
    }
    public void setProperties(Map<String, Object> properties) {
        this.properties = properties;
    }
    public List<DocChangeApis> getChangedata() {
        return changedata;
    }
    public void setChangedata(List<DocChangeApis> changedata) {
        this.changedata = changedata;
    }
    public String getOutputPath() {
        return outputPath;
    }
    public void setOutputPath(String outputPath) {
        this.outputPath = outputPath;
    }
    
    public ApiDocument(){
    }
    
    public ApiDocument(List<ApiModule> apiModules,Map<String, Object> properties) {
        this.apiModules = apiModules;
        if(properties!=null){
            this.properties = properties;
        }
    }
}
